﻿using System;
using System.Collections.Generic;
using System.Text;
using ECC_EXT_Entity;
using NHibernate;

namespace ECC_EXT_DAO.Dao
{
    public class DICOFFAnnotatonStatusDao : DaoBase
    {
        public IList<DICOFFAnnotatonStatusEntity> Search()
        {
            using (ISession session = this.SessionFactory.OpenSession())
            {
                ICriteria criteria =
                    session.CreateCriteria<DICOFFAnnotatonStatusEntity>();
                return
                criteria.List<DICOFFAnnotatonStatusEntity>();
            }
        }
    }
}
